﻿using System.Web;
using System.Web.Optimization;

namespace WS.EKA.Portal.App_Start
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add((new StyleBundle("~/Content/application.css")).Include(
            "~/Content/jqtouch.css",
            "~/Content/site.css",
            "~/Content/flexslider.css",
            "~/Content/jquery.autocomplete.css"
                ));
            bundles.Add(new ScriptBundle("~/Scripts/application.js").Include(
                "~/Scripts/iscroll.js",
                "~/Scripts/json2.js",
                "~/Scripts/mustache.js",
                "~/Scripts/underscore.js",
                "~/Scripts/jquery-1.7.js",
                "~/Scripts/plugin/jquery.autocomplete.min.js",
                "~/Scripts/jqtouch-jquery.min.js",
                "~/Scripts/plugin/jquery.flexslider.js",
                "~/Scripts/plugin/plugin.paging.js",
                "~/Scripts/plugin/plugin.search.js",
                "~/Scripts/plugin/jquery.md5.js",
                "~/Scripts/jqtouch.js",
                "~/Scripts/backbone-0.9.2.js",
                "~/Scripts/models/login.js",
                "~/Scripts/models/register.js",
                "~/Scripts/models/agreement.js",
                "~/Scripts/models/catalog.js",
                "~/Scripts/models/category.js",
                "~/Scripts/models/productList.js",
                "~/Scripts/models/productDetail.js",
                "~/Scripts/models/myCart.js",
                "~/Scripts/models/myInfo.js",
                "~/Scripts/models/myCollect.js",
                "~/Scripts/models/myOrder.js",
                "~/Scripts/models/myFilter.js",
                "~/Scripts/models/myMessage.js",
                "~/Scripts/models/searchList.js",
                "~/Scripts/models/order/address.js",
                "~/Scripts/models/order/payment.js",
                "~/Scripts/models/order/dispatchMode.js",
                "~/Scripts/models/order/invoice.js",
                "~/Scripts/models/order/coupon.js",
                "~/Scripts/models/order/orderMake.js",
                "~/Scripts/models/order/orderDetail.js",
                "~/Scripts/models/order/orderGenerate.js",
                "~/Scripts/models/page.js"
                ));
        }
    }
}